package com.hualan.sfzyproject.mapper;

import com.hualan.sfzyproject.domain.PsyKnowledge;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author LUCK
* @description 针对表【psy_knowledge(心理知识表)】的数据库操作Mapper
* @createDate 2025-01-02 16:01:40
* @Entity com.hualan.sfzyproject.domain.PsyKnowledge
*/
@Mapper
public interface PsyKnowledgeMapper {
    List<PsyKnowledge> selectAll();

    PsyKnowledge selectById(Long id);

    int insert(PsyKnowledge psyKnowledge);

    int update(PsyKnowledge psyKnowledge);

    int deleteById(int id);

    List<PsyKnowledge> selectByConsultantsId(int consultantsId);
}
